import { createApp } from 'vue'
import App from '@/App.vue'
import router from './router'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
import AppTable from '@/components/table/list'
import AppForm from '@/components/form'
// 引入了全部的样式
import '@/style/app.scss'
import store, { key } from './store'

const app = createApp(App)

app.use(Antd)

// app.config.globalProperties.$message = message

app.use(router)
app.use(store, key)
app.component('AppTable', AppTable)
app.component('AppForm', AppForm)
app.mount('#app')
